package com.brainhealth.common.enums;

/**
 * 学习库内容类型
 */
public enum LearnType implements BaseEnum
{
    JumpURL(0, "跳转连接"), LearnVideo(1, "学习视频"), RichText(2, "富文本文章");
    private final int code;
    private final String info;

    LearnType(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    @Override
    public Integer getValue()
    {
        return code;
    }
}
